import request from './request.js';

/** @name 提交预约 **/
export function reservationAPI (data) {
  return request({
    url: '/wx/reservation',
    method: 'post',
    data
  })
}

/** @name 预约列表 **/
export function getReservationListAPI (data) {
  return request({
    url: '/reservation/list',
    method: 'get',
    data,
  })
}

/** @name 删除预约 **/
export function deleteReservationListAPI (data) {
  return request({
    url: '/reservation/delete',
    method: 'delete',
    data,
  })
}
